<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width" />
		<meta name="renderer" content="webkit">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>权限信息</title>
		<!-- css -->
		<link rel="stylesheet" href="../../../assets/bootstrap/3.3.7/css/bootstrap.min.css">
		<link rel="stylesheet" href="../../../assets/bootstrap-table/bootstrap-table.min.css">
		<link rel="stylesheet" href="../../../assets/font-awesome/4.7/css/font-awesome.min.css">
		<link rel="stylesheet" href="../../../assets/font-awesome/3.2.1/css/font-awesome.min.css">
		<link rel="stylesheet" href="../../../assets/bootstrap-validator/css/bootstrapValidator.min.css" />
		<link rel="stylesheet" href="../../../assets/sco/css/sco.message.css" />
		<link rel="stylesheet" href="../../../assets/css/style.css">
	</head>

	<body>
		<div class="container-fluid" id="permList">
			<div class="row">
				<div class="panel panel-default">
					<div class="panel-body">
						<div class="form-group form-horizontal">
							<label class="control-label col-sm-1 col-xs-3" for="txt_search_departmentname">权限名称</label>
							<div class="col-sm-3 col-xs-7">
								<input type="text" class="form-control" id="name">
							</div>
							<div class="col-sm-8 col-xs-2">
								<button type="button" id="btn_query" class="btn btn-primary btn-sm" data-bind="click:fnSearch"><i class="fa fa-search fa-lg"></i><span class="hidden-xs hidden-sm"> 查询</span></button>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- 工具栏 -->
			<div class="row">
				<div class="col-sm-12">
					<div id="toolbar" class="btn-group">
						<button type="button" class="btn btn-default btn-sm" data-bind="click:fnAdd">
				<i class="fa fa-plus fa-lg" aria-hidden="true"></i><span class="hidden-xs hidden-sm"> 新增</span>
			</button>
						<button type="button" class="btn btn-default btn-sm" data-bind="click:fnRemove">
				<i class="fa fa-trash fa-lg" aria-hidden="true"></i><span class="hidden-xs hidden-sm"> 删除</span>
			</button>
						<button type="button" class="btn btn-default btn-sm" data-bind="click:fnEdit,enable:false">
				<i class="fa fa-pencil-square-o fa-lg" aria-hidden="true"></i><span class="hidden-xs hidden-sm"> 编辑</span>
			</button>
						<button type="button" class="btn btn-default btn-sm" data-bind="click:fnView,enable:false">
				<i class="fa fa-file-text fa-lg" aria-hidden="true"></i><span class="hidden-xs hidden-sm"> 查看</span>
			</button>
					</div>
				</div>
			</div>
			<!-- 列表区域 -->
			<div class="row">
				<div class="col-sm-12">
					<table id="tb_perms"></table>
				</div>
			</div>
		</div>
		<!-- Modal区域 -->
		<div id="permModal" class="modal fade" data-keyboard="false" data-backdrop="static" tabindex="-1" role="dialog" aria-hidden="true">
			<div class="modal-dialog" style="width: 400px" role="document">
				<div class="modal-content">
					<div class="modal-header" id="modalHeader">
						<span class="modal-title" data-bind="text:pv_title"></span>
					</div>
					<div class="modal-body">
						<form class="form-horizontal" id="detailForm" autocomplete="off">
							<div class="form-group">
								<label for="permCode" class="col-sm-3 control-label">权限编码:</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" name="permCode" id="permCode" placeholder="*,必填" data-bind="value:pv_permcode,enable:pv_enabled" readonly onfocus="this.removeAttribute('readonly');">
								</div>
							</div>
							<div class="form-group">
								<label for="permName" class="col-sm-3 control-label">权限描述:</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" name="permName" id="permName" placeholder="*,必填" data-bind="value:pv_permname,enable:pv_enabled" readonly onfocus="this.removeAttribute('readonly');">
								</div>
							</div>
							<div style="display:none">
								<input class="text" data-bind="value:pv_permid"><input type="text" data-bind="value:pv_editstatus"> <input type="text" data-bind="value:pv_recordstatus"><input type="text" data-bind="value:pv_appid">
							</div>
						</form>
					</div>
					<div class="modal-footer" id="modalFooter">
						<button type="button" class="btn btn-primary" style="font-size: 12px" id="saveBtn" data-bind="click:fnSaveForm"><i class="fa fa-save fa-lg"></i><span class="hidden-xs hidden-sm"> 保存</span></button>
						<button type="button" class="btn btn-default" style="font-size: 12px" data-bind="click:fnCloseDlg"><i class="fa fa-close fa-lg"></i><span class="hidden-xs hidden-sm"> 关闭</span></button>
					</div>
				</div>
			</div>
		</div>
		<script src="../../../assets/jquery/1.11.1/jquery.min.js"></script>
		<script src="../../../assets/jquery/bootbox.min.js"></script>
		<script src="../../../assets/js/core/ajaxSetup.js"></script>
		<script src="../../../assets/jquery/json2.js"></script>
		<script src="../../../assets/jquery/jquery.cookie.js"></script>
		<script src="../../../assets/bootstrap/3.3.7/js/bootstrap.min.js"></script>
		<script src="../../../assets/bootstrap-table/bootstrap-table.min.js"></script>
		<script src="../../../assets/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
		<script src="../../../assets/boostrap-treeview/bootstrap-treeview.min.js"></script>
		<!-- 表单验证 -->
		<script src="../../../assets/bootstrap-validator/js/bootstrapValidator.min.js"></script>
		<script src="../../../assets/knockout/knockout.js"></script>
		<!-- 加密引用 -->
		<script src="../../../assets/CryptoJS/rollups/aes.js"></script>
		<script src="../../../assets/sco/js/sco.message.js"></script>
		<!-- 自定义 script -->
		<script src="../../../assets/js/core/platform.common.js"></script>
		<script src="main.js"></script>
	</body>

</html>